<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"
    EnableEventValidation="False" CodeFile="BillBoard.aspx.vb" Inherits="WFBillBoard" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:HiddenField ID="hiActualUID" runat="server" />
            <asp:HiddenField ID="hidbName" runat="server" />
            <table style="text-align: center" width="100%">
                <tr>
                    <td style="text-align: center">
                        <asp:Label ID="lblTitle" runat="server" SkinID="title" meta:resourcekey="lblTitle"></asp:Label>
                    </td>
                </tr>
                <tr style="vertical-align: text-top; text-align: center">
                    <td>
                        <asp:ObjectDataSource ID="dsBillBoard" runat="server" SelectMethod="GetDataUID" TypeName="WorkFlow.BBL.WFBillBoardBBL">
                            <SelectParameters>
                                <asp:ControlParameter ControlID="hiActualUID" Name="UID" PropertyName="Value" Type="String" />
                                <asp:ControlParameter ControlID="hidbName" Name="dbName" PropertyName="Value" Type="String" />
                            </SelectParameters>
                        </asp:ObjectDataSource>
                        <marquee scrolldelay="800" width="800px" runat="Server" id='marquee1' height="400px"
                            direction="UP" scrollamount="15" onmouseover="this.setAttribute('scrollamount', 0, 0);"
                            onmouseout="this.setAttribute('scrollamount',15, 0);">
            
                        <TServerControl:TGridView ID="gvMain" runat="server" AllowHoverEffect="True" 
                        ShowHeader ="False" AllowPaging ="false" 
                            AllowHoverSelect="True"  AutoGenerateColumns="False" 
                            DataKeyNames="BillNo" DataSourceID="dsBillBoard" ShowFooterWhenEmpty="False" 
                            ShowHeaderWhenEmpty="False" SkinID="BillBoard" TotalRowCount="0" Width="800px">
                            
                            <Columns>
                                <asp:TemplateField ItemStyle-Height ="30px" ItemStyle-HorizontalAlign="Center" >
                                <ItemTemplate>
                                   <asp:HyperLink ID="hlURL" runat="server" NavigateUrl="<%# Bind('URL') %>"  Target ="_blank" 
                                            Text="<%# Bind('Subject') %>" ToolTip ="<%# Bind('URL') %>" ></asp:HyperLink>
                                </ItemTemplate>
                                   
                                </asp:TemplateField>
                            </Columns>
                        </TServerControl:TGridView>
                        
                          </marquee>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
